@echo off
rem chcp 65001
rem chcp 936
title   Download file
rem mode con cols=100 lines=45
echo `
echo `

set/p url_=  [42m Download URL [0m:  
echo `
set/p path_=  [42m Save path (If it is empty, it is the download URL suffix) [0m:  


echo 正在下载，请注意查看当前bat文件所在的路径是否存在下载文件
echo `
echo Downloading..... Please check whether the download file exists in the path where the current bat file is located

@REM 是要下载到当前路径的，所以要在保存路径前面加上 ./
powershell Start-BitsTransfer -Source %url_% -Destination ./%path_%

echo `
echo 下载完成，请查看当前bat文件所在的路径是否存在下载文件
echo `
echo The download is complete. Please check whether the download file exists in the path where the current bat file is located

pause